html,body{
    height: 100%;
}
.entirety {
    // 屏幕适应
    margin: 0 auto;
    max-width: 768px;
    min-width: 320px;

    height: 100%;
    background: #fff;
    position: relative;
     /* 顶部公共部分B */
    .header {
        height: 50px;
        background: #ff841d;
        border-bottom: 1px solid #ccc;
        display: flex;
        justify-content: space-between;
        .left {
            padding: 12px;
            a {
                img {
                    height: 25px;
                }
            }
        }
        .right {
            padding: 7px;
            a {
                img {
                    height: 34px;
                }
            }
        }
    }
    .search {
        height: 50px;
        display: flex;
        justify-content: space-between;
        padding: 10px;
        .searchtext {
            padding: 0;
            margin: 0;
            width: 90%;
            height: 30px;
            border-radius: 15px;
            border: none;
            background-color: #f1f1f1;
            text-align:left;
            padding-left: 10px;
            font-size: 16px;
        }
        .searchbtn {
            padding: 0;
            width: 63px;
            height: 30px;
            background: #ff841d;
            border-radius: 15px;
            border: none;
            font-size: 17px;
            color: white;
        }
    }
    /* 顶部公共部分E */
    main{
        height: 100%;
        padding-bottom: 10px;
        // 面包屑导航
        .breadcrumb {
            padding: 8px 15px;
            list-style: none;
            background:linear-gradient(to bottom, #fff, #ededed);;
            font-size: 14px;
            border-top: solid 1px #ededed;
            border-bottom: 1px solid #ccc;
            li {
                display: inline-block;
                a{
                    color: #5a5a5a;;
                }
            }
                    span{
                        padding: 0 5px;
                    }
        }               
        // 标题   
        h3>a,title{
            display: block;
            height: 36px;
            color:#874604;
            font-weight: bold;
            font-size: 14px;
            background-color:#eee;
            line-height: 36px;
            padding-left: 15px;
            border-bottom: 1px solid #ccc;       
        }
        h3{
            // 消除mui的影响
            margin-bottom: 0;
        }
        // 详细内容
        // 第一部分
        .subBrands1{
            .subBrand{
                padding: 10px;
                // height: 72px;
                display: flex;
                align-items: center;
                border-bottom: 1px solid #e7e7e7;
                color:#000;
                font-size: 16px;
                span{
                    align-self:flex-start;
                    color: #fff;
                    background-color: #c9c9c9;
                    width: 20px;
                    height: 20px;
                    text-align: center;
                    line-height: 20px;
                    font-size:14px;
                    margin-right: 10px;
                }
                .top1{
                    background-color: #f10e0e;
                }
                .top2{
                    background-color: #ff9314;
                }
                .top3{
                    background-color: #8adf5b;
                }
                .inner{
                    display: flex;
                    flex-direction: column;
                    p{
                        margin-top: 3px;
                        font-size: 12px;
                        margin-bottom: 0; 
                    }
                }
                .mui-icon{
                    position: absolute;
                    right: 0;
                    color: #8f8f94;
                }

            }
        }
        // 第二部分
        .subBrands2{
            .subBrand{
                padding: 10px;
                display: flex;
                .pic {
                    width: 100px;
                    height: 100px;
                    img{
                        height: 100%;
                    }
                }
                .info {
                    margin-left: 10px;
                    color: #333;
                    .tit{
                        font-size: 14px;
                        min-height: 44px;
                    }
                    .price{
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        height: 25px;
                        margin-top: 4px;
                        font-size: 18px;
                        color: red;
                        .star{
                            font-size: 12px;
                        }
                    }
                    .other{
                        margin: 0;
                        font-size: 12px;
                        span{
                            margin-right: 5px;
                        }
                    }
                }
            }
        }
        // 第二部分
        .subBrands3 {
            .subBrand {
                background-color: #f2f2f2;
                padding: 15px;
                a{
                    color:#999;
                }
                .info {
                    display: block;
                    height: 80px;
                    img{
                        height: 100%;
                        float: left;
                    }
                    .tit {
                        padding-left: 90px;
                        height: 100%;
                        font-size: 14px;

                    }
                }
                .other {
                    position: relative;
                    &::before{
                        content: "";
                        width: 0;
                        height: 0;
                        // border: 10px solid #000;
                        border-left: 10px solid transparent;
                        border-right: 10px solid transparent;
                        border-top: 10px solid transparent;
                        border-bottom: 10px solid #f8f8f8;
                        position: absolute;
                        top:-19px;
                        left:30px;
                    }
                    .comment{
                        background-color: #f8f8f8;
                        border: 1px solid #e7e7e7;
                        display: block;
                        margin-top: 12px;
                        padding: 10px;
                        .fr{
                            float: right;
                            color:#999;
                        }
                        span{
                            font-size: 14px;
                            color:#263201;
                        }
                        p{
                            color:#252525;
                            margin-top: 10px;
                        }
                        .com{
                            text-align: right;
                            color:red;
                        }
                    }
                }
            }
        }
    }
    // 底部
    .footer {
        // margin-top: 10px;
        background-color: #ededed;
        .top {
            display: flex;
            // justify-content: space-around;
            align-items: center;
            border-top: 1px solid #c4c4c4;
            border-bottom: 1px solid #c4c4c4;
            height: 34px;
            line-height: 34px;
            a {
                width: 33.3333333333333%;
                height: 100%;
                text-align: center;
                color:#5a5a5a;
                font-size: 14px;
                &.totop {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    img {
                        width: 15px;
                        height: 15px;
                        margin-right: 2px;
                        margin-bottom: 3px;
                    }
                }
                &:nth-child(2) {
                    border-left: 1px solid #c4c4c4;
                    border-right: 1px solid #c4c4c4;
                }
            }
        }
        .bottom {
            height: 60px;
            padding: 10px 0px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            a {
                color:#5a5a5a;
                font-size:  12px;
                margin: 0;
                margin-right: 3px;
            }
            p{
                // 消除mui插件样式影响，body的line-height
                line-height: normal;
            }
            .txt {
                margin-bottom: 0;
                .mobile {
                    color:red;
                }
            }
        }
    }
    // 原网站星星做法
    // .star {
    //     background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'><path fill='#cacaca' d='m496.52887,736.87439l112.46838,-346.20175l364.01178,0l-294.48053,-213.97614l112.4809,-346.2005l-294.48053,213.96616l-294.53922,-213.96616l112.48215,346.2005l-294.4818,213.97614l364.01427,0l112.5246,346.20175z'  transform='translate(0, 812) scale(1, -1)'/></svg>");
    //     display: inline-block;
    //     width: 90px;
    //     height: 18px;
    //     vertical-align: middle;
    // }

    // .star1,
    // .star2,
    // .star3,
    // .star4 {
    //     background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'><path fill='#ff9000' d='m496.52887,736.87439l112.46838,-346.20175l364.01178,0l-294.48053,-213.97614l112.4809,-346.2005l-294.48053,213.96616l-294.53922,-213.96616l112.48215,346.2005l-294.4818,213.97614l364.01427,0l112.5246,346.20175z'  transform='translate(0, 812) scale(1, -1)'/></svg>");
    //     display: inline-block;
    //     width: 20px;
    //     height: 18px;
    //     vertical-align: middle;
    // }

    // .star1 {
    //     width: 18px;
    // }

    // .star2 {
    //     width: 35px;
    // }

    // .star3 {
    //     width: 55px;
    // }

    // .star4 {
    //     width: 70px;
    // }

    // .star5 {
    //     width: 90px;
    // }
}